package interpreter.debugger.ui;

/**
 * Halts (stops) program execution
 *
 * @author Kris Selbekk
 */
public class HaltCommand extends Command {
    public void exec( String[] args ) {
        dvm.setRunning(false);
    }
    public void print() {
        StringBuilder out = new StringBuilder();
        out.append("Program ended.");
        System.out.println( out.toString() );
        System.exit(0);
    }
}
